arm: support zImage format kernels for dom0
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 9 Feb 2012 15:32:50 +0000 (15:32 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 9 Feb 2012 15:32:50 +0000 (15:32 +0000)
commita585912dcc5cce099ee753dc201400d812c01340
tree5e0a8356034aebb35a0aee236d27f7b74a6c0b33
parent4fac110e534e47a87201f9f19035adc590d5f9c2
arm: support zImage format kernels for dom0

Allow a zImage format kernel to be used for dom0.  zImages are (by
default) hardcoded with the RAM location so adjust the RAM in the
memory map to match the physical memory map (0x80000000).

Vmlinux ELF images are loaded using a hack to locate the RAM so the
IPA is the same as the kernel's VA so the elf loader does the right
thing.  If an ELF image is loaded the RAM will be located at
0xC0000000 (as before).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/Makefile
xen/arch/arm/domain_build.c
xen/arch/arm/kernel.c [new file with mode: 0644]
xen/arch/arm/kernel.h [new file with mode: 0644]